package com.xinzhidi.web.netty.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinzhidi.web.netty.entity.AgreementUnitValveHistory;

import java.util.List;


/**
 * 单元阀门协议-历史数据Mapper接口
 *
 * @author cx
 * @date 2023-06-17
 */
public interface AgreementUnitValveHistoryMapper extends BaseMapper<AgreementUnitValveHistory> {
    /**
     * 查询单元阀门协议-历史数据
     *
     * @param id 单元阀门协议-历史数据主键
     * @return 单元阀门协议-历史数据
     */
    public AgreementUnitValveHistory selectAgreementUnitValveHistoryById(Long id);

    /**
     * 查询单元阀门协议-历史数据列表
     *
     * @param agreementUnitValveHistory 单元阀门协议-历史数据
     * @return 单元阀门协议-历史数据集合
     */
    public List<AgreementUnitValveHistory> selectAgreementUnitValveHistoryList(AgreementUnitValveHistory agreementUnitValveHistory);

    /**
     * 新增单元阀门协议-历史数据
     *
     * @param agreementUnitValveHistory 单元阀门协议-历史数据
     * @return 结果
     */
    public int insertAgreementUnitValveHistory(AgreementUnitValveHistory agreementUnitValveHistory);

    /**
     * 修改单元阀门协议-历史数据
     *
     * @param agreementUnitValveHistory 单元阀门协议-历史数据
     * @return 结果
     */
    public int updateAgreementUnitValveHistory(AgreementUnitValveHistory agreementUnitValveHistory);

    /**
     * 删除单元阀门协议-历史数据
     *
     * @param id 单元阀门协议-历史数据主键
     * @return 结果
     */
    public int deleteAgreementUnitValveHistoryById(Long id);

    /**
     * 批量删除单元阀门协议-历史数据
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAgreementUnitValveHistoryByIds(Long[] ids);
}
